import Layout from '@/views/layout/index'

// 跟进记录
const studentFollowRouter = {
    path: '/follow',
    component: Layout,
    name: 'follow',
    meta: {
        title: '跟进记录',
        icon: 'iconfont icon-genjin'
    },
    redirect: "/follow/manage",
    children: [{
        path: 'manage',
        name: 'studentFollowManage',
        component: () => import('@/views/follow/manage'),
        meta: {
            title: '跟进记录',
            icon: 'iconfont icon-genjin',
            api: ['student_follow'],
            authority: ['list'],
        },
        checkedList: [],
        rights: [{
                value: 'list',
                label: '列表'
            },{
                value: 'edit',
                label: '编辑'
            }]
    },{
        path: 'details',
        name: 'studnetFollowDetails',
        component: () => import('@/views/follow/details'),
        hidden:true,
        meta: {
            title: '跟进详情',
            api: ['student_follow'],
            authority: ['details'],
        }
    }]
}

export default studentFollowRouter